package cn.snailteam.recruitment.entity;

/**
 * RechargeLog entity. @author MyEclipse Persistence Tools
 */

public class RechargeLog implements java.io.Serializable {

	// Fields

	private Integer id;
	private UserInfo userInfo;
	private String rechargeTime;
	private Double balance;

	// Constructors

	/** default constructor */
	public RechargeLog() {
	}

	/** minimal constructor */
	public RechargeLog(Double balance) {
		this.balance = balance;
	}

	/** full constructor */
	public RechargeLog(UserInfo userInfo, String rechargeTime, Double balance) {
		this.userInfo = userInfo;
		this.rechargeTime = rechargeTime;
		this.balance = balance;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public UserInfo getUserInfo() {
		return this.userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}

	public String getRechargeTime() {
		return this.rechargeTime;
	}

	public void setRechargeTime(String rechargeTime) {
		this.rechargeTime = rechargeTime;
	}

	public Double getBalance() {
		return this.balance;
	}

	public void setBalance(Double balance) {
		this.balance = balance;
	}

}